package com.renshine.swing.component.panel;

import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.Insets;

import javax.swing.JPanel;
import javax.swing.JTextArea;

import org.springframework.stereotype.Component;

@Component
@SuppressWarnings("serial")
public class HelpPanel extends JPanel {

	/**
	 * Create the panel.
	 */
	public HelpPanel() {
		setLayout(new BorderLayout(0, 0));
		
		JTextArea txtrFdfdfdfafdsafd = new JTextArea();
		txtrFdfdfdfafdsafd.setMargin(new Insets(50, 50, 2, 2));
		txtrFdfdfdfafdsafd.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
		txtrFdfdfdfafdsafd.setText("项目：https://git.oschina.net/poet/CodeAuto\r\n作者：deyang\r\n");
		txtrFdfdfdfafdsafd.setWrapStyleWord(true);
		add(txtrFdfdfdfafdsafd, BorderLayout.CENTER);

	}
}
